<?php

class BonusConvertPurchasePageLink extends Extension {
	function getBonusConvertPurchase(){
        $page = BonusConvertPurchase::get()->find('ClassName', 'BonusConvertPurchase');
        if($page) return $page;
    }
    
    function getBonusConvertPurchaseLink() {
        $page = $this->getBonusConvertPurchase();
        if($page) return $page->Link();
    }
	
    function getBonusConvertPurchaseStatement(){
        $page = BonusConvertPurchaseStatementPage::get()->find('ClassName', 'BonusConvertPurchaseStatementPage');
        if($page) return $page;
    }
    
    function getBonusConvertPurchaseStatementLink() {
        $page = $this->getBonusConvertPurchaseStatement();
        if($page) return $page->Link();
    }
}
